#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QDesktopWidget>
#include <QMessageBox>
#include <QProcess>
#include <QDebug>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::MainWindow *ui;

    QString downloadlink = "http://app-store.githall.com/store/tools/spark-store/";
    QString osrelease = "Deepin";
    QString downloadlink2 = "";

    QProcess *process;

    void install_all_debs();
};

#endif // MAINWINDOW_H
